<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>SpriteOutput</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SpriteOutput()</font></b></p>
<p><b>Syntax</b></p><blockquote>

OutputID = <font color="#006666"><b>SpriteOutput</b></font>(#Sprite)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Returns the OutputID of the sprite to perform <a href="../2ddrawing/index.html">2D rendering operation</a> on it. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Sprite</i></td>
<td width="90%"> 
 
The sprite to draw on. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



The output ID or zero if drawing is not possible. This value should be passed directly to the 
<a href="../2ddrawing/startdrawing.html">StartDrawing()</a> function to start the drawing operation. The return-value 
is valid only for one drawing operation and cannot be reused. 

 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2"><font color="#006666">  StartDrawing</font>(<font color="#006666">SpriteOutput</font>(<font color="#924B72">#Sprite</font>))
    <font color="#006666">; do some drawing stuff here...</font>
<font color="#006666">  StopDrawing</font>()
</font></pre>

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=spriteid.html>SpriteID()</a> - <a href=index.html>Sprite Index</a> - <a href=spritepixelcollision.html>SpritePixelCollision()</a> -&gt;



</body></html>